<template>
  <div class="cssTest">
    <!-- bfc -->
    <div class="float"></div>
    <div class="float"></div>
  </div>
  <div class="margin">
    <div class="box"></div>
    <div class="inlineBox">
      <div class="box"></div>
    </div>
  </div>
  <div class="varTest" style="--color: red">varTest</div>
</template>

<script>
import { ref } from "vue";
export default {
  setup() {
    let color = ref('blue')
    return {
      color
    };
  },
};
</script>

<style lang="scss" scoped>
@import "./index.scss";
.varTest {
  color: var(--color);
}
</style>